home *** CD-ROM | disk | FTP | other *** search
- Path: access1.digex.net!not-for-mail
- From: ell@access1.digex.net (Ell)
- Newsgroups: comp.lang.c++
- Subject: Re: Inheritance problem...and other stuff
- Date: 24 Mar 1996 03:17:14 GMT
- Organization: The Universe
- Message-ID: <4j2erq$ik5@news4.digex.net>
- References: <4j0ekj$9f6@cloner3.netcom.com> <4j131i$qnu@news1.h1.usa.pipeline.com>
- NNTP-Posting-Host: access1.digex.net
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Pete Grant (grantp@usa.pipeline.com) wrote:
- :...
- : There are standard idioms (Coplien's book, for example) for simulating
- : virtual constructors -- I have mixed feelings of those since they
- : are just a thin veil for hiding what you are really doing. There's
- : really no such thing as a virtual constructor in C++ and I feel a bit
- : uneasy with idioms that try to make it look like they exist. But
- : at the same time, I can see the benefits also.
-
- Stroustrup's C++ PL discusses good uses of the virtual ctor idiom.
-
- Elliott
-